import React from 'react';

import { List } from 'react-virtualized';

const list = Object.keys(String(new Array(100)))

function rowRenderer({ key, index, isScrolling, isVisible, style, }) {
    return (
        <div key={key} style={style}>
            {list[index]}
        </div>
    );
}
class newList extends React.Component {

    render() {
        return (
            <List
                width={window.screen.width}
                height={window.screen.height}
                rowCount={list.length}
                rowHeight={40}
                rowRenderer={rowRenderer}
            />
        );
    }
}

export default newList;
